from django.db import models


# Create your models here.
class Lianjia_beijing_ershou_model(models.Model):
    url = models.CharField(max_length=50, null=True, default="", blank=True)
    title = models.CharField(max_length=256, default='', blank=True, null=True)
    price = models.CharField(max_length=256, default='', blank=True, null=True)
    unit_price = models.CharField(max_length=256, default='', blank=True, null=True)
    tax_pay = models.CharField(max_length=256, default='', blank=True, null=True)
    room1 = models.CharField(max_length=256, default='', blank=True, null=True)
    room2 = models.CharField(max_length=256, default='', blank=True, null=True)
    type1 = models.CharField(max_length=256, default='', blank=True, null=True)
    type2 = models.CharField(max_length=256, default='', blank=True, null=True)
    area1 = models.CharField(max_length=256, default='', blank=True, null=True)
    area2 = models.CharField(max_length=256, default='', blank=True, null=True)
    community_name = models.CharField(max_length=256, default='', blank=True, null=True)
    community_area = models.CharField(max_length=256, default='', blank=True, null=True)
    detail0 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail1 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail2 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail3 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail4 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail5 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail6 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail7 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail8 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail9 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail10 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail11 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail12 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail13 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail14 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail15 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail16 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail17 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail18 = models.CharField(max_length=256, default='', blank=True, null=True)
    detail19 = models.CharField(max_length=256, default='', blank=True, null=True)
    tag = models.CharField(max_length=256, default='', blank=True, null=True)
    visit_in_seven = models.CharField(max_length=256, default='', blank=True, null=True)
    visit_in_thirty = models.CharField(max_length=256, default='', blank=True, null=True)
    long_detail = models.CharField(max_length=256, default='', blank=True, null=True)


class Lianjia_zufang_model(models.Model):
    url = models.CharField(max_length=256, default='', blank=True, null=True)
    title = models.CharField(max_length=256, default='', blank=True, null=True)
    price = models.CharField(max_length=256, default='', blank=True, null=True)
    fitment = models.CharField(max_length=256, default='', blank=True, null=True)
    squire = models.CharField(max_length=256, default='', blank=True, null=True)
    room_status = models.CharField(max_length=256, default='', blank=True, null=True)
    floor = models.CharField(max_length=256, default='', blank=True, null=True)
    face_to = models.CharField(max_length=256, default='', blank=True, null=True)
    subway = models.CharField(max_length=256, default='', blank=True, null=True)
    rant_way = models.CharField(max_length=256, default='', blank=True, null=True)
    pay_way = models.CharField(max_length=256, default='', blank=True, null=True)
    now_status = models.CharField(max_length=256, default='', blank=True, null=True)
    hot_way = models.CharField(max_length=256, default='', blank=True, null=True)
    tag = models.CharField(max_length=256, default='', blank=True, null=True)
    visit_in_seven = models.CharField(max_length=256, default='', blank=True, null=True)
    visit_in_thirty = models.CharField(max_length=256, default='', blank=True, null=True)
    long_description = models.TextField(default="", blank=True, null=True)

